﻿<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false" CodeFile="Single.aspx.cs" Inherits="Admin_ContentManage_Sing" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单页編輯</title>
        <link href="../css/common.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" charset="utf-8">
    window.UEDITOR_HOME_URL ="../ueditor";
    function showEdit(){
    //实例化编辑器
    var ue = UE.getEditor('txtContent');
    ue.addListener('ready',function(){
        this.focus()
    });
    }
    </script>

    <script src="../ueditor/editor_config.js" type="text/javascript"></script>

    <script src="../ueditor/editor_all.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="17" valign="top" style="background: url(../images/mail_leftbg.gif)">
                <img src="../images/left-top-right.gif" width="17" height="29" />
            </td>
            <td valign="top" style="background: url(../images/content-bg.gif)">
                <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" id="table2">
                    <tr>
                        <td height="31">
                            <div class="titlebt">
                                <asp:Label ID="labTitle" runat="server" Text=""></asp:Label>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="16" valign="top " style="background: url(../images/mail_rightbg.gif)">
                <img src="../images/nav-right-bg.gif" width="16" height="29" />
            </td>
        </tr>
        <tr>
            <td valign="middle" style="background: url(../images/mail_leftbg.gif)">
                &nbsp;
            </td>
            <td valign="top" bgcolor="#F7F8F9">
                <div class="topnav">

                            <table class="formtable" with="100%">
                                <tbody>
                                    <tr>
                                        <th>
                                            <asp:Button ID="btnSaveTemplate" runat="server" class="btnsubmit" Text="保存" CommandArgument="0"
                                                OnClick="btnSaveTemplate_Click" />
                                        </th>
                                        <td>
                                            頁面編輯
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                            頁面內容
                                        </th>
                                        <td>
                                            <input type="button" onclick="showEdit()" class="btnsubmit" value="啟用編輯器" />
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <asp:TextBox ID="txtContent" runat="server" Height="800px" TextMode="MultiLine" Width="100%">
                               
                                            </asp:TextBox>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>

                </div>
            </td>
            <td style="background: url(../images/mail_rightbg.gif)">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td valign="bottom" style="background: url(../images/mail_leftbg.gif)">
                <img src="../images/buttom_left2.gif" width="17" height="17" />
            </td>
            <td style="background: url(../images/buttom_bgs.gif)">
                <img src="../images/buttom_bgs.gif" width="17" height="17">
            </td>
            <td valign="bottom" style="background: url(../images/mail_rightbg.gif)">
                <img src="../images/buttom_right2.gif" width="16" height="17" />
            </td>
        </tr>

    </form>
</body>
</html>
